#ifndef EXAMINTERFACE_HPP
#define EXAMINTERFACE_HPP

class QString;
struct ExamConfig;

extern const QString huida_qstr;
extern const QString zhengque_qstr;
extern const QString cuowu_qstr;
extern const QString daanwei_qstr;

class ExamInterface{
public:
    virtual bool checkCorrection(QString *msg=NULL)=0;
    virtual bool nextQuestion(QString *msg=NULL)=0;
    virtual void updateConfig(const ExamConfig *){}
    virtual void clearText()=0;
};

#endif // EXAMINTERFACE_HPP
